package com.tm.mapper;

import com.tm.model.EcStoreManage;
import com.tm.model.EcStoreManageCriteria;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface EcStoreManageMapper {
    int countByExample(EcStoreManageCriteria example);

    int deleteByExample(EcStoreManageCriteria example);

    int deleteByPrimaryKey(Integer storeId);

    int insert(EcStoreManage record);

    int insertSelective(EcStoreManage record);

    List<EcStoreManage> selectByExample(EcStoreManageCriteria example);

    EcStoreManage selectByPrimaryKey(Integer storeId);

    int updateByExampleSelective(@Param("record") EcStoreManage record, @Param("example") EcStoreManageCriteria example);

    int updateByExample(@Param("record") EcStoreManage record, @Param("example") EcStoreManageCriteria example);

    int updateByPrimaryKeySelective(EcStoreManage record);

    int updateByPrimaryKey(EcStoreManage record);

	List<Map<String, Object>> getEcStoreByDistance(Map<String, Object> param);
}